#ifndef INC_MODIFYTEXTCMD_H
#define INC_MODIFYTEXTCMD_H

#include "Command.h"

#include <QString>

class UMLObject;

class ModifyTextCmd : public Command
{
	public:
		ModifyTextCmd(UMLObject* target, const QString& text);

		void execute();
		void unexecute();

	private:
		UMLObject* _target; // init-checked
		QString _text;
		QString _oldtext;
};

#endif // INC_MODIFYTEXTCMD_H

